package com.css.crm.dao.impl;

import org.apache.ibatis.session.SqlSession;
import com.css.crm.dao.CustomerAddressAuditTrailDao;
import com.css.crm.vo.AuditTrailVo;

/**
 * Implementation for CustomerAddressAuditTrailDao
 * 
 * @author AIS
 */
public class CustomerAddressAuditTrailDaoImpl extends BaseDaoImpl implements CustomerAddressAuditTrailDao {

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * com.css.crm.dao.CustomerAddressAuditTrailDao#insertCustomerAddressAuditTrail(com.css.
	 * crm.vo.CustomerAddressVo)
	 */
	@Override
	public int insertCustomerAddressAuditTrail(AuditTrailVo customerAddress) {
		SqlSession session = getMyBatisSession();
		return session.insert("customerAddressAuditTrail.insertCustomerAddressAuditTrail", customerAddress);
	}
}
